<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <link rel="stylesheet" href="popup.css">
</head>
<body>
  <div class="container">
    <h2>任务提醒</h2>
    
    <div class="add-reminder">
      <input type="text" id="reminderText" placeholder="提醒内容">
      
      <div class="reminder-type">
        <label>
          <input type="radio" name="type" value="fixed"> 定点提醒
        </label>
        <label>
          <input type="radio" name="type" value="interval"> 间隔提醒
        </label>
      </div>

      <div id="fixedTimeSettings" class="hidden">
        <input type="datetime-local" id="fixedTime">
      </div>

      <div id="intervalSettings" class="hidden">
        <input type="number" id="interval" placeholder="间隔分钟">
        <div class="quiet-hours">
          <label>免打扰时间:</label>
          <input type="time" id="quietStart">
          <input type="time" id="quietEnd">
        </div>
        <input type="number" id="maxDaily" placeholder="每日最多提醒次数">
      </div>

      <button id="addReminder">添加提醒</button>
    </div>

    <div class="reminder-list">
      <h3>提醒列表</h3>
      <ul id="remindersList"></ul>
    </div>
  </div>
  <script src="popup.js"></script>
</body>
</html> 